<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>考试后台</title>
    <link rel="stylesheet"  type="text/css"  th:href="@{/exam/backExam.css}"/>
</head>
<body>
        <h1>志愿者考试</h1>
        <table class="backExamTable" th:each="subjects:${subjects}">

                <tr>
                    <td class="backExamTd">题目编号</td>
                    <td th:text="${subjects.subjectId}"></td>
                    <td class="button"><a href="/addSubjects" class="myButton">添加</a></td>
                </tr>
                <tr>
                    <td class="backExamTd">题目内容</td>
                    <td th:text="${subjects.subject}"></td>
                    <td class="button"><a th:href="'/updateSubjects/' + ${subjects.subjectId}" class="myButton1">修改</a></td>
                </tr>
                <tr>
                    <td class="backExamTd">题目答案</td>
                    <td th:text="${subjects.answer}"></td>
                    <td class="button"><a th:href="@{'/delete/' + ${subjects.subjectId}}" class="myButton2" th:id="${subjects.subjectId}">删除</a></td>
                </tr>
                <tr>
                    <td class="backExamTd">选项A</td>
                    <td th:text="${subjects.selectionA}"></td>
                    <td class="button"></td>
                </tr>
                <tr>
                    <td class="backExamTd">选项B</td>
                    <td th:text="${subjects.selectionB}"></td>
                    <td class="button"></td>
                </tr>
                <tr>
                    <td class="backExamTd">选项C</td>
                    <td th:text="${subjects.selectionC}"></td>
                    <td class="button"></td>
                </tr>
                <tr>
                    <td class="backExamTd">选项D</td>
                    <td th:text="${subjects.selectionD}"></td>
                    <td class="button"></td>
                </tr>
            <br>

        </table>
</body>
</html>